<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<link rel="stylesheet" href="__ADMIN_PUBLIC__/Css/public.css" />
	<script type="text/javascript">
	var app = '__ADMIN_PUBLIC__';
	</script>
	<script type="text/javascript" src="__ADMIN_PUBLIC__/Js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="__ADMIN_PUBLIC__/Js/public.js"></script>

<script type="text/javascript" src="__ADMIN_PUBLIC__/easyui/jquery.min.js"></script>
<script type="text/javascript" src="__ADMIN_PUBLIC__/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="__ADMIN_PUBLIC__/easyui/locale/easyui-lang-zh_CN.js" ></script>

<link rel="stylesheet" type="text/css" href="__ADMIN_PUBLIC__/easyui/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="__ADMIN_PUBLIC__/easyui/themes/icon.css" />
<script type="text/javascript" src="__ADMIN_PUBLIC__/js/category.js"></script>
</head>
<script type="text/javascript">
$(function () {
	
	$('#box').tree({
		url : '__ADMIN_PUBLIC__/js/tree.json',
		animate : true,
		// checkbox : true,
		cascadeCheck : false,
		// onlyLeafCheck : true,
		lines : true,
		dnd : true,
		data : [{
			"text" : "本地节点",
			'text' : "蓝巨"
		}],
		formatter : function (node) {
			alert(node);
			return '[' + node.text + ']';
		}
	});

});
</script>
<body>
<ul class="easyui-tree">
	<li>
		<span>系统管理</span>
		<ul>
			<li>
				<span>主机信息 [<a href="">添加子分类</a>][<a href="">修改</a>][<a href="" class="del">删除</a>]</span>
				<ul>
					<li>版本信息</li>
					<li>数据库信息</li>	
				</ul>
			</li>
			<li>更新信息</li>
			<li>程序信息</li>	
		</ul>
	</li>
	<li>
		<span>会员管理</span>
		<ul>
			<li>新增会员</li>
			<li>审核会员</li>	
		</ul>
	</li>
</ul>
	<table class="table easyui-tree" id="menu" >
		<tr>
			<td class="th" colspan="20">分类列表</td>
		</tr>
		<tr class="tableTop">
			<td class="tdLittle0 center">展开</td>
			<td class="tdLittle1">ID</td>
			<td>分类名称</td>
			<td class="tdLtitle7">操作</td>
		</tr>
		<foreach name="cateList" item="v">
		<tr>
			<td><a href="javascript:void(0)" class="showPlus"></a></td>
			<td>{$v.cid}</td>
			<td><a href="{:U('articleList')}?cid={$v.cid}">{$v.name}</a></td>
			
			<td>
				[<a href="">添加子分类</a>][
				<a href="">修改</a>][
				<a href="" class="del">删除</a>]
			</td>
		</tr>
		</foreach>
	</table>

</body>
</html>